package ss9999999999;

public class four {
    public static void main(String[] args) {
        for (int i=0;i<=150;i++){
            int a=150-i;
            if(i==3*a+10){
                System.out.println(i);
                System.out.println(a);
            }
        }
    }
}
